import request from '@/utils/request'

export const getAlarmList = (data) => {
    return request({
        url: '/alarm/list',
        method: 'get',
        params: data
    })
}

export const deleteAlarm = (data) => {
    return request({
        url: '/alarm/del/' + data.id,
        method: 'post',
        data: data
    })
}